<?

	/* Theme functions, these are called from the main theme or the blog system */
	
	
	function drawProfile() {
		global $blogname,$profileimg;
		
		echo "\r\n";
		echo "\t<div id='profile'>\r\n";
		if ($profileimg) echo "\t\t<img src='".$profileimg."'/>\r\n";
		echo "\t\t<h1><a href='?'>".$blogname."</a></h1>";
		echo "\r\n";
		echo "\t</div>";

	}
	


	
	
	
	function theme_drawTweet(
			$itemAction,
			$itemCaption,
			$itemPost,
			$itemLink,
			$itemCommentLink,
			$itemDate,
			$itemServiceName,
			$itemTrueDate)
	{
						$tweet="<div id='tweet'>";
						
						$tweet.="<h1>".$itemDate."</h1>";
						$tweet.="<h3>".$itemAction."</h3>";
						
						$tweet.="From ".$itemServiceName." - ".$itemDate." | ".$itemCommentLink."<br/><br/>";
						
						if ($itemCaption) $tweet.=$itemCaption."<a href='".$itemLink."'>&#187;</a><br/>";
						$tweet.=$itemPost;
						
						$tweet.="</div>";
						$tweet.="<div style='clear:both;'> </div>";
						return $tweet;
	}





?>
